package com.qianclass.talklive.app.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Author:  Administrator-Li
 * Date:    2017/6/16 14:49
 * TODO:    音视频命令的bean类
 */

public class MicVideoBean {

    /**
     * message : {"subcommand":"camera","switch":"off","type":"media","userid":10000004}
     */

    private MessageBean message;

    public MessageBean getMessage() { return message;}

    public void setMessage(MessageBean message) { this.message = message;}

    public static class MessageBean {
        /**
         * subcommand : camera
         * switch : off
         * type : media
         * userid : 10000004
         */

        private String subcommand;
        @SerializedName("switch")
        private String switchX;
        private String type;
        private int userid;

        public String getSubcommand() { return subcommand;}

        public void setSubcommand(String subcommand) { this.subcommand = subcommand;}

        public String getSwitchX() { return switchX;}

        public void setSwitchX(String switchX) { this.switchX = switchX;}

        public String getType() { return type;}

        public void setType(String type) { this.type = type;}

        public int getUserid() { return userid;}

        public void setUserid(int userid) { this.userid = userid;}
    }
}
